// Prefix
@css-prefix             : sh-;
@css-prefix-iconfont    : sh-icon;

// Color
@primary-color          : #3377FF; // 主题色
@gradual-color          : #33ddff; // 渐变颜色
@success-color          : #39BD65;
@warning-color          : #FFA033;
@error-color            : #F05656;
@title-color            : #1F2E4D;
@normal-color           : #1F2E4D; // 正常字体颜色
@unimportance-color     : #8F9BB3; // 不重要字体颜色
@placeholder-color      : #E6E9F0; // 占位颜色，分割线显色
@tooltip-color          : #fff;
@link-color             : #3377FF;
@link-hover-color       : tint(@link-color, 20%);
@link-active-color      : shade(@link-color, 5%);

// Base
@body-background        : #fff;
@component-background   : #fff;
@font-family            : Microsoft YaHei, arial, PingFangSC-Regular, sans-serif;
@font-size-base         : 12px;
@font-size-small        : 10px;
@font-size-large        : 14px;
@line-height-base       : 1.5;
@line-height-computed   : floor((@font-size-base * @line-height-base));
@border-radius-base     : 6px;
@border-radius-small    : 4px;
@cursor-disabled        : not-allowed;
@text-color             : #515a6e;

// Border color
@border-color-base      : #E6E9F0;  // outside
@border-color-split     : #e6e8f0;  // inside
@border-width-base      : 1px;            // width of the border for a component
@border-style-base      : solid;          // style of a components border

// Background color
@background-color-base        : #F1F3F5;  // base
@background-color-select-hover: @input-disabled-bg;
@table-thead-bg               : #f1f3f5;
@table-td-stripe-bg           : #F7F9FC;
@table-td-hover-bg            : @background-color-base;
@table-td-highlight-bg        : #ebf7ff;
@tooltip-bg                   : rgba(70, 76, 91, .9);
@tabs-bg                      : #D3DBEB;

// Shadow
@shadow-color           : rgba(0, 0, 0, .2);
@shadow-base            : @shadow-down;
@shadow-card            : 0 1px 1px 0 rgba(0,0,0,.1);
@shadow-up              : 0 -1px 6px @shadow-color;
@shadow-down            : 0 1px 6px @shadow-color;
@shadow-left            : -1px 0 6px @shadow-color;
@shadow-right           : 1px 0 6px @shadow-color;
@box-shadow-light       :0 2px 12px 0 rgba(0, 0, 0, 0.1);

// Button
@btn-font-weight        : normal;
@btn-padding-base       : 8px 20px;
@btn-padding-small      : 8px 20px;
@btn-padding-large      : 12px 25px;
@btn-padding-base-icon  : 5px 15px 6px;
@btn-padding-only-icon  : 3px 15px 3px;
@btn-padding-large-icon : 6px 15px 6px 15px;
@btn-padding-small-icon : 1px 7px 2px;
@btn-font-size          : 14px;
@btn-font-base          : 12px;
@btn-font-size-small    : 10px;
@btn-border-radius      : 4px;
@btn-border-radius-small: 4px;
@btn-group-border       : shade(@primary-color, 5%);

@btn-disable-color      : #c5c8ce;
@btn-disable-bg         : @background-color-base;
@btn-disable-border     : @border-color-base;

@btn-large-color      : @normal-color;
@btn-large-bg         : @component-background;
@btn-large-border     : @border-color-split;

@btn-primary-color      : @component-background;
@btn-primary-bg         : @primary-color;

@btn-ghost-color        : @normal-color;
@btn-ghost-bg           : @component-background;
@btn-ghost-border       : @border-color-base;

@btn-circle-size        : 32px;
@btn-circle-size-large  : 36px;
@btn-circle-size-small  : 24px;

// Layout and Grid
@grid-columns                : 24;
@grid-gutter-width           : 0;

// Input
@input-height-base           : 30px;
@input-height-large          : 40px;
@input-height-small          : 30px;

@input-padding-horizontal    : 10px;
@input-padding-vertical-base : 4px;
@input-padding-vertical-small: 4px;
@input-padding-vertical-large: 4px;

@input-color                 : @normal-color;
@input-border-color          : @border-color-base;
@input-bg                    : @component-background;
@input-group-bg              : #f8f8f9;

@input-hover-border-color    : @primary-color;
@input-focus-border-color    : @primary-color;
@input-disabled-bg           : #f3f3f3;

// Media queries breakpoints
// Extra small screen / phone
@screen-xs              : 480px;
@screen-xs-min          : @screen-xs;
@screen-xs-max          : (@screen-xs-min - 1);

// Small screen / tablet
@screen-sm              : 576px;
@screen-sm-min          : @screen-sm;
@screen-sm-max          : (@screen-sm-min - 1);

// Medium screen / desktop
@screen-md              : 768px;
@screen-md-min          : @screen-md;
@screen-md-max          : (@screen-md-min - 1);

// Large screen / wide desktop
@screen-lg              : 992px;
@screen-lg-min          : @screen-lg;
@screen-lg-max          : (@screen-lg-min - 1);

// Extra large screen / full hd
@screen-xl              : 1200px;
@screen-xl-min          : @screen-xl;
@screen-xl-max          : (@screen-xl-min - 1);

// Extra extra large screen / large descktop
@screen-xxl             : 1600px;
@screen-xxl-min         : @screen-xxl;
@screen-xxl-max         : (@screen-xxl-min - 1);

// Z-index
@zindex-spin            : 8;
@zindex-affix           : 10;
@zindex-back-top        : 10;
@zindex-select          : 900;
@zindex-modal           : 1000;
@zindex-message         : 1010;
@zindex-transfer        : 1060;
@zindex-notification    : 1010;
@zindex-loading         : 2000;
@zindex-fullscreen      : 2010;
@zindex-content         : 2011; // 内容层级最高

// Animation
@animation-time         : .3s;
@transition-time        : .2s;
@ease-in-out            : ease-in-out;

// Slider
@slider-color              : tint(@primary-color, 20%);
@slider-height             : 4px;
@slider-margin             : 16px 0;
@slider-button-wrap-size   : 18px;
@slider-button-wrap-offset : -4px;
@slider-disabled-color     : #ccc;

// Avatar
@avatar-size-base: 32px;
@avatar-size-lg: 40px;
@avatar-size-sm: 24px;
@avatar-font-size-base: 18px;
@avatar-font-size-lg: 24px;
@avatar-font-size-sm: 14px;
@avatar-bg: #ccc;
@avatar-color: @component-background;
@avatar-border-radius: @border-radius-small;

// Anchor
@anchor-border-width: 2px;

// @background-primary-color:
@alert-background-gradual-color:#f4f4f5;
@alert-background-warning-color:#fdf6ec;
@alert-background-success-color:#f0f9eb;
@alert-background-error-color:#fef0f0;
@date-picker-cell-hover-bg    : #e1f0fe;

// page
@page-item-border-color: #666;
@page-item-font-active-color:#FFFFFF;
@page-item-font-family: Arial;
@page-btn-circle-size: 40px;
@page-btn-circle-large: 36px;
@page-btn-circle-size-small: 30px;
@page-btn-border-radius: 4px;
@page-btn-border-radius-small: 3px;
@page-btn-item-background: transparent;

// upload
@upload-drag-background: #fff;
@upload-picture-card-background: #fbfdff;
@upload-picture-card-border-color: #c0ccda;
@upload-picture-card-border-radius: 6px;
@upload-picture-card-width: 150px;
@upload-picture-card-height: 150px;
@upload-picture-card-line-height: 150px;

// menu 
@menu-border-color: #515a6e;
@menu-dark-title              : #515a6e;
@menu-dark-active-bg          : #363e4f;
@menu-dark-subsidiary-color   : rgba(255,255,255,.7);
@menu-dark-group-title-color  : rgba(255,255,255,.36);
// Legend
@legend-color                 : #999;

//layout
@default-header-ht: 60px;
@default-footer-ht: 60px;
@default-articl-wd: 240px;
@grid-gutter-width: 0;

// tree
@tree-width: 200px;

// /* Transition
// -------------------------- */
@transition-all: all .3s cubic-bezier(.645,.045,.355,1);
@transition-fade: opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
@transition-fade-linear: opacity 200ms linear;
@transition-md-fade: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
@transition-border-base: border-color .2s cubic-bezier(.645,.045,.355,1);
@transition-color-base: color .2s cubic-bezier(.645,.045,.355,1);
